package com.example.weatherview.client;


import com.example.citycommon.pojo.City;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("city-client")
public interface CityClient {

    @RequestMapping("getCityList")
    public List<City> list();
}
